package 设计模式.设计原则.单一职责;

public class Test {
    public static void main(String[] args) {
        FlyBird bird1 = new FlyBird();
        bird1.mainWalkMode("喜鹊");
        WalkBird bird2 = new WalkBird();
        bird2.mainWalkMode("企鹅");
    }
}
